﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace MqttSample.core
{
    /// <summary>
    /// IMqttClientWrapper
    /// </summary>
    public interface IMqttClientWrapper : IDisposable
    {
        /// <summary>
        /// 启动
        /// </summary>
        Task StartAsync();

        /// <summary>
        /// 取消订阅
        /// </summary>
        Task UnSunscribeAsync(string topic);
    }
}
